
#include "SkinFactorySpring.h"
#include "ProductButtonSpring.h"
#include "ProductComboBoxSpring.h"
#include "ProductTextFieldSpring.h"

using namespace npAbstractFactory;


SkinFactorySpring::SkinFactorySpring() : SkinFactory()
{

}

SkinFactorySpring::~SkinFactorySpring()
{

}

SkinFactorySpring::SkinFactorySpring(const SkinFactorySpring& cpy) : SkinFactory(cpy)
{

}

SkinFactorySpring& SkinFactorySpring::operator=(const SkinFactorySpring& asn)
{
    if (this == &asn)
    {
        return *this;
    }
    else
    {
        SkinFactory::operator=(asn);
        return *this;
    }
}

SkinFactorySpring* SkinFactorySpring::clone() const
{
    return new SkinFactorySpring(*this);
}

ProductButton* SkinFactorySpring::createButton()
{
    return new ProductButtonSpring();
}

ProductComboBox* SkinFactorySpring::createComboBox()
{
    return new ProductComboBoxSpring();
}

ProductTextField* SkinFactorySpring::createTextField()
{
    return new ProductTextFieldSpring();
}
